package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;
import java.util.List;

/**
 * App - 分页查询订单列表DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-22
 */
public class MobileOrderPageDTO implements Serializable {
    private static final long serialVersionUID = -474250158290579536L;

    public MobileOrderPageDTO(Long totalCount, List<MobileOrderQueryDTO> orders) {
        this.totalCount = totalCount;
        this.orders = orders;
    }

    /**
     * 总数
     */
    private Long totalCount;

    /**
     * 订单列表
     */
    private List<MobileOrderQueryDTO> orders;

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }

    public List<MobileOrderQueryDTO> getOrders() {
        return orders;
    }

    public void setOrders(List<MobileOrderQueryDTO> orders) {
        this.orders = orders;
    }
}
